Page({
  data: {
    products: [
      {
        id: 1,
        name: 'Sony/索尼WH-CH720N 头戴式耳机',
        price: 799,
        image: "https://gw.alicdn.com/imgextra/i1/2932559281/O1CN01FEJxSI2IQkrsd8Qwt_!!0-item_pic.jpg_Q75.jpg_.webp",
        produce:'10万+条评价',
        produce1:'SONY自营官方旗舰店 进店》',
        url: "/packageD/fl12/fl12"
      },
      {
        id: 2,
        name: '西伯利亚 V13耳机头戴式 usb7.1声道黑色',
        price: 88.90,
        image: "https://img10.360buyimg.com/n1/s450x450_jfs/t1/225845/27/18067/69755/66432b1aF8492a7ae/6859a50cea2153fe.jpg.avif",
        produce:'50万+条评价',
        produce1:'西伯利亚游戏耳机自营旗舰店 进店》',
        url: "/packageD/fl12/fl121"
      },
      {
        id: 3,
        name: '品存（picun）蓝牙耳机头戴式 F8Pro璀璨银',
        price: 369,
        image: "https://img12.360buyimg.com/n7/jfs/t1/36887/37/23403/122918/66c30c2eF86fb893e/60240a05ae130b79.png.avif",
        produce:'1万+条评价',
        produce1:'品存（picun）自营旗舰店 进店》'
      },
      {
        id: 4,
        name: ' 漫步者Atom Max ATM小金标蓝牙5.4  云岩白',
        price: 278.99,
        image: "https://img10.360buyimg.com/n7/jfs/t1/245046/34/15132/67985/6694eb30F69a9b243/31631f0e4cdb4916.jpg.avif",
        produce:'2000+条评价',
        produce1:'漫步者数码旗舰店 进店》'
      },
      {
        id: 5,
        name: '迪士尼 粒次方漫威MR13头戴式蓝牙耳机',
        price: 209,
        image: "https://img11.360buyimg.com/n7/jfs/t1/169640/8/37848/57833/64abba02F0155f2da/d8d0f475068479e5.jpg.avif",
        produce:'1000+条评价',
        produce1:'粒次方旗舰店 进店》'
      }
      // 可以继续添加更多商品
    ]
  },

  onProductClick: function (event) {
    const url = event.currentTarget.dataset.url;
    wx.navigateTo({
      url: url
    });
  }
});
